package com.ddwl.schema.bo.gate;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author Fu Zhaohui
 * @date 2015/12/4 0004
 */
@ApiModel(description = "微信小程序模板消息Bo")
@Setter
@Getter
public class MicroAppTemplateBo {

    private String touser;
    private String template_id;
    private String page;
    private String form_id;
    private String color;
    private TemplateData data;
    private String emphasis_keyword;

    @Setter
    @Getter
    public class TemplateData {
        private Node keyword1;
        private Node keyword2;
        private Node keyword3;
        private Node keyword4;
        private Node keyword5;
        private Node keyword6;
        private Node keyword7;
        private Node keyword8;
        private Node keyword9;
        private Node keyword10;
    }

    @Setter
    @Getter
    @AllArgsConstructor
    @NoArgsConstructor
    public class Node {

        private String value;
        private String color;

        public Node(String value) {
            this.value = value;
        }
    }


}
